package com.yungu.swift.system.sys.dao;

import com.yungu.swift.base.mapper.IMapper;
import com.yungu.swift.system.sys.model.dto.SysWayNightFareDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 拼车夜间费用设置
 */
public interface SysWayNightFareMapper extends IMapper<SysWayNightFareDto> {
    /**
     * 批量新增
     *
     * @param list
     * @return
     */
    int addBatch(@Param("nightFareList") List<SysWayNightFareDto> list);

    /**
     * 通过线路ID批量删除
     *
     * @param wayUuid
     * @return
     */
    int delByWayUuid(@Param("wayUuid") String wayUuid);
}